<nz-card>
  <sf #searchForm mode="search" [schema]="searchSchema" [formData]="queryFormData" [button]="null">
  </sf>

  <div nz-row>
    <div nz-col nzSpan="12" style="text-align: left;padding-left: 5px;padding-bottom: 15px;">
      <button (click)="query()" nz-button nzType="primary"><i nz-icon nzType="search"></i>查询当前状态</button>
    </div>
    <div nz-col nzSpan="12" style="text-align: right;padding-right: 5px;padding-bottom: 15px;"><button (click)="add()"
      nz-button nzType="primary"><i nz-icon nzType="redo"></i>刷新显示</button>
  </div>
    
  </div>

  <lb-grid #st [columns]="columns" sname="sxyj_sxcx" [queryparas]="{}">
    <ng-template lb-row="custom" let-item let-index="index" let-column="column">
      <nz-switch [ngModel]="item.YJZ002" ></nz-switch>
    </ng-template>
  </lb-grid>

</nz-card>